<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>css常用属性</title>
    <style>
        .box1 {
            width: 100px;
            height: 100px;
            background-color: red;
            /* float: left; */
        }
        .box2{
            width: 100px;
            height: 100px;
            background-color: blue;
            /* float: right; */
            position: absolute;
            top: 20px;
            left: 30px;
            overflow: scroll;
        }
        .father{
            position: relative;
        }
        .image{
            width: 200px;
            height: 200px;
            background-color: red;
            font-size: 20px;
            color: blue;
            font-family: 'Courier New', Courier, monospace;
            font-weight: 900;
            font-style: italic;
            text-align: center;
            line-height: 200px;
        }
    </style>
</head>
<body>
    <!-- <div class="father">
        <div class="box1"></div>
        <div class="box2">
            Lorem ipsum dolor sit amet consectetur adipisicing elit. Neque, commodi laudantium totam quas impedit quia dolorem? Deleniti odio fuga aliquam?
        </div>
    </div> -->
    <div class="image">
        你好，世界！
    </div>
</body>
</html>